package com.yuanqunsoft.alimigration.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Report entity. @author MyEclipse Persistence Tools
 */

public class Report implements java.io.Serializable {

    // Fields

    private Integer repId;
    private Team team;
    private Application application;
    private Testing testing;
    private Integer rusId;
    private String repName;
    private String repType;
    private Integer repLines;
    private Integer repAlerts;
    private Float repEffort;
    private Float repTeamAdjustment;
    private Float repTestFactor;
    private Float repAdjustedEffort;
    private Timestamp repCreateTime;
    private String repFileUrl;
    private Set alerts = new HashSet(0);
    private Set reportWithRulesets = new HashSet(0);

    // Constructors

    /** default constructor */
    public Report() {
    }

    /** minimal constructor */
    public Report(Team team, Application application, Testing testing, String repName, String repType,
            Integer repLines, Integer repAlerts, Float repEffort, Float repTeamAdjustment, Float repTestFactor,
            Float repAdjustedEffort, Timestamp repCreateTime, String repFileUrl) {
        this.team = team;
        this.application = application;
        this.testing = testing;
        this.repName = repName;
        this.repType = repType;
        this.repLines = repLines;
        this.repAlerts = repAlerts;
        this.repEffort = repEffort;
        this.repTeamAdjustment = repTeamAdjustment;
        this.repTestFactor = repTestFactor;
        this.repAdjustedEffort = repAdjustedEffort;
        this.repCreateTime = repCreateTime;
        this.repFileUrl = repFileUrl;
    }

    /** full constructor */
    public Report(Team team, Application application, Testing testing, Integer rusId, String repName,
            String repType, Integer repLines, Integer repAlerts, Float repEffort, Float repTeamAdjustment,
            Float repTestFactor, Float repAdjustedEffort, Timestamp repCreateTime, String repFileUrl, Set alerts,
            Set reportWithRulesets) {
        this.team = team;
        this.application = application;
        this.testing = testing;
        this.rusId = rusId;
        this.repName = repName;
        this.repType = repType;
        this.repLines = repLines;
        this.repAlerts = repAlerts;
        this.repEffort = repEffort;
        this.repTeamAdjustment = repTeamAdjustment;
        this.repTestFactor = repTestFactor;
        this.repAdjustedEffort = repAdjustedEffort;
        this.repCreateTime = repCreateTime;
        this.repFileUrl = repFileUrl;
        this.alerts = alerts;
        this.reportWithRulesets = reportWithRulesets;
    }

    // Property accessors

    public Integer getRepId() {
        return this.repId;
    }

    public void setRepId(Integer repId) {
        this.repId = repId;
    }

    public Team getTeam() {
        return this.team;
    }

    public void setTeam(Team team) {
        this.team = team;
    }

    public Application getApplication() {
        return this.application;
    }

    public void setApplication(Application application) {
        this.application = application;
    }

    public Testing getTesting() {
        return this.testing;
    }

    public void setTesting(Testing testing) {
        this.testing = testing;
    }

    public Integer getRusId() {
        return this.rusId;
    }

    public void setRusId(Integer rusId) {
        this.rusId = rusId;
    }

    public String getRepName() {
        return this.repName;
    }

    public void setRepName(String repName) {
        this.repName = repName;
    }

    public String getRepType() {
        return this.repType;
    }

    public void setRepType(String repType) {
        this.repType = repType;
    }

    public Integer getRepLines() {
        return this.repLines;
    }

    public void setRepLines(Integer repLines) {
        this.repLines = repLines;
    }

    public Integer getRepAlerts() {
        return this.repAlerts;
    }

    public void setRepAlerts(Integer repAlerts) {
        this.repAlerts = repAlerts;
    }

    public Float getRepEffort() {
        return this.repEffort;
    }

    public void setRepEffort(Float repEffort) {
        this.repEffort = repEffort;
    }

    public Float getRepTeamAdjustment() {
        return this.repTeamAdjustment;
    }

    public void setRepTeamAdjustment(Float repTeamAdjustment) {
        this.repTeamAdjustment = repTeamAdjustment;
    }

    public Float getRepTestFactor() {
        return this.repTestFactor;
    }

    public void setRepTestFactor(Float repTestFactor) {
        this.repTestFactor = repTestFactor;
    }

    public Float getRepAdjustedEffort() {
        return this.repAdjustedEffort;
    }

    public void setRepAdjustedEffort(Float repAdjustedEffort) {
        this.repAdjustedEffort = repAdjustedEffort;
    }

    public Timestamp getRepCreateTime() {
        return this.repCreateTime;
    }

    public void setRepCreateTime(Timestamp repCreateTime) {
        this.repCreateTime = repCreateTime;
    }

    public String getRepFileUrl() {
        return this.repFileUrl;
    }

    public void setRepFileUrl(String repFileUrl) {
        this.repFileUrl = repFileUrl;
    }

    public Set getAlerts() {
        return this.alerts;
    }

    public void setAlerts(Set alerts) {
        this.alerts = alerts;
    }

    public Set getReportWithRulesets() {
        return this.reportWithRulesets;
    }

    public void setReportWithRulesets(Set reportWithRulesets) {
        this.reportWithRulesets = reportWithRulesets;
    }

}